Optimal. Leaf size=229 \[ -\frac{1}{2} i b d^2 \text{PolyLog}\left (2,e^{2 i \sin ^{-1}(c x)}\right )+d^2 \log (x) \left (a+b \sin ^{-1}(c x)\right )+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}-\frac{b d e \sin ^{-1}(c x)}{2 c^2}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}+\frac{3 b e^2 x \sqrt{1-c^2 x^2}}{32 c^3}-\frac{3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac{1}{2} i b d^2 \sin ^{-1}(c x)^2+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \log (x) \sin ^{-1}(c x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.334752, antiderivative size = 229, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 12, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.571, Rules used = {266, 43, 4731, 6742, 321, 216, 2326, 4625, 3717, 2190, 2279, 2391} \[ -\frac{1}{2} i b d^2 \text{PolyLog}\left (2,e^{2 i \sin ^{-1}(c x)}\right )+d^2 \log (x) \left (a+b \sin ^{-1}(c x)\right )+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}-\frac{b d e \sin ^{-1}(c x)}{2 c^2}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}+\frac{3 b e^2 x \sqrt{1-c^2 x^2}}{32 c^3}-\frac{3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac{1}{2} i b d^2 \sin ^{-1}(c x)^2+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \log (x) \sin ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 43
Rule 4731
Rule 6742
Rule 321
Rule 216
Rule 2326
Rule 4625
Rule 3717
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{\left (d+e x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{x} \, dx &=d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(b c) \int \frac{d e x^2+\frac{e^2 x^4}{4}+d^2 \log (x)}{\sqrt{1-c^2 x^2}} \, dx\\ &=d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-(b c) \int \left (\frac{d e x^2}{\sqrt{1-c^2 x^2}}+\frac{e^2 x^4}{4 \sqrt{1-c^2 x^2}}+\frac{d^2 \log (x)}{\sqrt{1-c^2 x^2}}\right ) \, dx\\ &=d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\left (b c d^2\right ) \int \frac{\log (x)}{\sqrt{1-c^2 x^2}} \, dx-(b c d e) \int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx-\frac{1}{4} \left (b c e^2\right ) \int \frac{x^4}{\sqrt{1-c^2 x^2}} \, dx\\ &=\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)+\left (b d^2\right ) \int \frac{\sin ^{-1}(c x)}{x} \, dx-\frac{(b d e) \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx}{2 c}-\frac{\left (3 b e^2\right ) \int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx}{16 c}\\ &=\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}+\frac{3 b e^2 x \sqrt{1-c^2 x^2}}{32 c^3}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}-\frac{b d e \sin ^{-1}(c x)}{2 c^2}+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)+\left (b d^2\right ) \operatorname{Subst}\left (\int x \cot (x) \, dx,x,\sin ^{-1}(c x)\right )-\frac{\left (3 b e^2\right ) \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx}{32 c^3}\\ &=\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}+\frac{3 b e^2 x \sqrt{1-c^2 x^2}}{32 c^3}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}-\frac{b d e \sin ^{-1}(c x)}{2 c^2}-\frac{3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac{1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\left (2 i b d^2\right ) \operatorname{Subst}\left (\int \frac{e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )\\ &=\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}+\frac{3 b e^2 x \sqrt{1-c^2 x^2}}{32 c^3}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}-\frac{b d e \sin ^{-1}(c x)}{2 c^2}-\frac{3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac{1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\left (b d^2\right ) \operatorname{Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )\\ &=\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}+\frac{3 b e^2 x \sqrt{1-c^2 x^2}}{32 c^3}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}-\frac{b d e \sin ^{-1}(c x)}{2 c^2}-\frac{3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac{1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)+\frac{1}{2} \left (i b d^2\right ) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}(c x)}\right )\\ &=\frac{b d e x \sqrt{1-c^2 x^2}}{2 c}+\frac{3 b e^2 x \sqrt{1-c^2 x^2}}{32 c^3}+\frac{b e^2 x^3 \sqrt{1-c^2 x^2}}{16 c}-\frac{b d e \sin ^{-1}(c x)}{2 c^2}-\frac{3 b e^2 \sin ^{-1}(c x)}{32 c^4}-\frac{1}{2} i b d^2 \sin ^{-1}(c x)^2+d e x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{4} e^2 x^4 \left (a+b \sin ^{-1}(c x)\right )+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-b d^2 \sin ^{-1}(c x) \log (x)+d^2 \left (a+b \sin ^{-1}(c x)\right ) \log (x)-\frac{1}{2} i b d^2 \text{Li}_2\left (e^{2 i \sin ^{-1}(c x)}\right )\\ \end{align*}
Mathematica [A] time = 0.465204, size = 184, normalized size = 0.8 \[ -\frac{1}{2} i b d^2 \left (\sin ^{-1}(c x)^2+\text{PolyLog}\left (2,e^{2 i \sin ^{-1}(c x)}\right )\right )+a d^2 \log (x)+a d e x^2+\frac{1}{4} a e^2 x^4+\frac{b d e \left (c x \sqrt{1-c^2 x^2}-\sin ^{-1}(c x)\right )}{2 c^2}+\frac{b e^2 \left (c x \sqrt{1-c^2 x^2} \left (2 c^2 x^2+3\right )-3 \sin ^{-1}(c x)\right )}{32 c^4}+b d^2 \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )+b d e x^2 \sin ^{-1}(c x)+\frac{1}{4} b e^2 x^4 \sin ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.208, size = 272, normalized size = 1.2 \begin{align*}{\frac{a{e}^{2}{x}^{4}}{4}}+aed{x}^{2}+{d}^{2}a\ln \left ( cx \right ) +{\frac{b\arcsin \left ( cx \right ){e}^{2}{x}^{4}}{4}}+b\arcsin \left ( cx \right ) ed{x}^{2}+{\frac{bedx}{2\,c}\sqrt{-{c}^{2}{x}^{2}+1}}+{d}^{2}b\arcsin \left ( cx \right ) \ln \left ( 1+icx+\sqrt{-{c}^{2}{x}^{2}+1} \right ) +{d}^{2}b\arcsin \left ( cx \right ) \ln \left ( 1-icx-\sqrt{-{c}^{2}{x}^{2}+1} \right ) -i{d}^{2}b{\it polylog} \left ( 2,-icx-\sqrt{-{c}^{2}{x}^{2}+1} \right ) -{\frac{3\,b\arcsin \left ( cx \right ){e}^{2}}{32\,{c}^{4}}}+{\frac{b{e}^{2}{x}^{3}}{16\,c}\sqrt{-{c}^{2}{x}^{2}+1}}+{\frac{3\,b{e}^{2}x}{32\,{c}^{3}}\sqrt{-{c}^{2}{x}^{2}+1}}-{\frac{b\arcsin \left ( cx \right ) ed}{2\,{c}^{2}}}-{\frac{i}{2}}b{d}^{2} \left ( \arcsin \left ( cx \right ) \right ) ^{2}-i{d}^{2}b{\it polylog} \left ( 2,icx+\sqrt{-{c}^{2}{x}^{2}+1} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{4} \, a e^{2} x^{4} + a d e x^{2} + a d^{2} \log \left (x\right ) + \int \frac{{\left (b e^{2} x^{4} + 2 \, b d e x^{2} + b d^{2}\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{a e^{2} x^{4} + 2 \, a d e x^{2} + a d^{2} +{\left (b e^{2} x^{4} + 2 \, b d e x^{2} + b d^{2}\right )} \arcsin \left (c x\right )}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{asin}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{2}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}^{2}{\left (b \arcsin \left (c x\right ) + a\right )}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]